close all; clear all;



% SEQUENCE EXCHANGE BOARD TIME PAPER BID BID-DEPTH BID-DEPTH-TOTAL BID-NUMBER OFFER OFFER-DEPTH
% OFFER-DEPTH-TOTAL OFFER-NUMBER OPEN HIGH LOW LAST CHANGE CHANGE-PERCENT VOLUME VALUE TRADES STATUS QUOTE-ID
%Some tests for parsing html strings from primetrader

load 'demo3data';

% yieldCurve = NIBORyieldCurve();
% openOptions = OSXopenOptions();
% save( 'demo3data' )

t = timer;

% Assign values to timer object properties using the set function.

set(t,'ExecutionMode','fixedRate','BusyMode','drop','Period',3);

% Assign a value to the timer object TimerFcn property using dot notation.

% t.TimerFcn = @(x,y) disp(urlread('http://localhost:8678/quotes/OBX1D400.OMFE'));
% t.TimerFcn = @(x,y) disp(urlread('http://localhost:8678/quotes/wlist=obxoptions'));
t.TimerFcn = { @timerPlotIvols2, yieldCurve, openOptions };

% Start the timer object

h = figure(); %Create figure to display SABR etc

start(t)


% Stop the timer object.
% Delete timer objects after you are done using them.
% stop(t)
% delete(t)

